package com.bll.impl.sweepstake_userAction;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.bean.SweepstakeUserBean;
import com.bll.Action;
import com.dao.Sweepstake_userDao;

public class ShowSweepstakeUserAction implements Action{

	public String execute(HttpServletRequest request,
			HttpServletResponse response) {
		String lujing=request.getParameter("lujing");
		Sweepstake_userDao dao=new Sweepstake_userDao();
		List<SweepstakeUserBean> list=dao.selectAll(1);
		request.setAttribute("suser", list);
		return lujing;
	}
	
}
